/*
 * @Author: RidingWind
 * @Date: 2018-02-09 21:29:37
 * @Last Modified by: 大招科技 - RidingWind
 * @Last Modified time: 2018-03-06 16:31:14
 */
@import '../common/css/vars.css';

:root {
  --speed__search-height: calc(30 / 12 * 1em);
  --padding-top: calc(15 / 12 / 2 * 1em);
  --padding-left: calc(20 / 12 / 2 * 1em));
}

.navbar-fixed-top {
  top: 0;
}

.row > .sidebar {
  background-color: rgba(0, 0, 0, 0.3) !important;
  border-right: 0 !important;
}

.page-header {
  border-bottom: 0 !important;
}

.nav-sidebar > .active > a {
  color: #fff;
  background-color: var(--theme);
}

.main {
  padding: 20px;
}

.img {
  width: 6em;
  height: 6em;
  background-color: yellow;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }

  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}

